package com.dafeng;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-06-12
 * Time: 16:55
 */
non-sealed public class Dog extends Animal{

    public Dog(String name, int age) {
        super(name, age);
    }

    public void dogEat(){
        System.out.println(this.name + "正在吃狗粮!");
    }
}
